package com.xhdd.conf;


import org.locationtech.jts.geom.GeometryFactory;
import org.locationtech.jts.io.WKTReader;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class MyWKTReader {

    @Bean
    public WKTReader getWKTReader() {
        return new WKTReader(new GeometryFactory());
    }

}